{% extends "advbase.html" %}
{% block advcontent -%}
<form class="pure-form" action="" method="POST" enctype="multipart/form-data">
  <fieldset>
    <legend>{{_("Import Feeds")}}</legend>
    <p style="font-size:0.8em;color:grey;">
        {{_("Import custom rss from a OPML file.")}}
    </p>
    <br />
    <input type="file" name="importfile" />
    <br />
    <input type="submit" value="{{_("Import")}}" class="pure-button pure-button-primary" style="margin-top:8px;" />
    <span style="margin-left:1em;"><a href="/advexport" class="actionButton">{{_("Download")}}</a></span>
    {% if tips -%}
    <br />
    <p style="font-size:0.9em;color:red;font-weight:bold;">{{tips}}</p>
    {% endif -%}
  </fieldset>
</form>
{% endblock -%}